/*
 * ITitleListIterator.h
 *
 *  Created on: 6 May 2010
 *      Author: Savramis Sartios
 */

#ifndef IDOUBLEITERATOR_H_
#define IDOUBLEITERATOR_H_
#include <string>
using namespace std;

class ITitleListIterator{
public:

	/**
	 * Set the current pointer to the beginning
	 */
	virtual void	first()=0;

	/**
	 * Increase the current pointer +1
	 */
	virtual void	next()=0;

	/**
	 * Checks if the current pointer points inside the list
	 * \return true if pointer points inside the list
	 */
	virtual bool isDone()const=0;

	/**
	 * Returns the current element
	 * \return string
	 * \throw  OutOfBound
	 */
	virtual string		getCourseCode()const=0;
	/**
	 * Returns the value under the code
	 * \return code the course code
	 * \throw  OutOfBound
	 */
	virtual string	 	getCourseTitle(const string *code)=0;
};


#endif /* IDOUBLEITERATOR_H_ */
